package cn.poem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

/**
 * @Description 点赞
 * @Author sugar
 * @Date 2021/5/14 4:53 PM
 * @Version 1.0
 */
@Data
public class Like {


    @TableId(type = IdType.ASSIGN_ID)
    /**
     * 主键
     */
    private Long id;

    /**
     * 用户编码
     */
    private Long uid;

    /**
     * 点赞的对象
     */
    private Long objectId;

    /**
     * 1读后感2评论3诗文4诗人..预留
     */
    private Integer objectType;

    /**
     * 点赞时间
     */
    private Integer createTime;

    /**
     * 取消点赞时间
     */
    private Integer updateTime;

    /**
     * 1点赞2取消点赞
     */
    private Integer likeStatus;

}
